package com.hansheng.dao;

import com.hansheng.entity.MaterialEntity;

import java.util.List;

/**
 * Created by GoldenMan on 2017/5/29.
 */
public interface MaterialDao {
    boolean saveMaterial(MaterialEntity materialEntity);
    boolean deleteMaterialById(int mid);
    boolean modifyMaterial(MaterialEntity materialEntity);
    List getMaterialList();

    List getFatherMaterialList(String whereHql, Object[] params);

    MaterialEntity getMaterialById(int mid);
}
